﻿using System;
using System.Collections.Generic;
using Citi.EmailSender.Domain;

namespace Citi.EmailSender.WebUi.Models
{
    public class EmailModel : ModelBase<EmailModel, Email>
    {
        public DateTime CreatedDate { get; set; }
        public string ApplicationUniqueKey { get; set; }
        public int EmailDataId { get; set; }
        public EmailDataModel EmailData { get; set; }
        public DateTime? SentOn { get; set; }
        public int Tentatives { get; set; }
        public DateTime? ScheduleDate { get; set; }
        public bool? Approved { get; set; }
        public IEnumerable<EmailReceiverModel> EmailReceivers { get; set; }
    }
}